package com.konne.nightmare.FastPublicOpinion.bean;

import java.io.Serializable;

public class LoginBean {


    /**
     * code : 200
     * msg : 操作成功
     * data : {"token":"c4e35d20-80b8-4b7b-a88e-7704bde57e29","userId":"6600fa2f8e5145d5be5317ee0067ca8d","belongId":75,"dataBaseId":8,"belongName":"西安聚飞网络科技有限公司","name":"li","userName":"13992696194","roleId":4,"roleName":"客户机构","roleKey":"KH","isPerfect":null,"agentType":null}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * token : c4e35d20-80b8-4b7b-a88e-7704bde57e29
         * userId : 6600fa2f8e5145d5be5317ee0067ca8d
         * belongId : 75
         * dataBaseId : 8
         * belongName : 西安聚飞网络科技有限公司
         * name : li
         * userName : 13992696194
         * roleId : 4
         * roleName : 客户机构
         * roleKey : KH
         * isPerfect : null
         * agentType : null
         */

        private String token;
        private String userId;
        private int belongId;
        private int dataBaseId;
        private String belongName;
        private String name;
        private String userName;
        private int roleId;
        private String roleName;
        private String roleKey;
        private String isPerfect;
        private String agentType;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public int getBelongId() {
            return belongId;
        }

        public void setBelongId(int belongId) {
            this.belongId = belongId;
        }

        public int getDataBaseId() {
            return dataBaseId;
        }

        public void setDataBaseId(int dataBaseId) {
            this.dataBaseId = dataBaseId;
        }

        public String getBelongName() {
            return belongName;
        }

        public void setBelongName(String belongName) {
            this.belongName = belongName;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getRoleId() {
            return roleId;
        }

        public void setRoleId(int roleId) {
            this.roleId = roleId;
        }

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        public String getRoleKey() {
            return roleKey;
        }

        public void setRoleKey(String roleKey) {
            this.roleKey = roleKey;
        }

        public String getIsPerfect() {
            return isPerfect;
        }

        public void setIsPerfect(String isPerfect) {
            this.isPerfect = isPerfect;
        }

        public String getAgentType() {
            return agentType;
        }

        public void setAgentType(String agentType) {
            this.agentType = agentType;
        }
    }
}
